package com.ruoyi.kjgl.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 砍价商品对象 kjsp
 * 
 * @author ruoyi
 * @date 2024-08-05
 */
public class Kjsp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 砍价图片 */
    @Excel(name = "砍价图片")
    private String kjtp;

    /** 砍价名称 */
    @Excel(name = "砍价名称")
    private String jkmc;

    /** 砍价价格 */
    @Excel(name = "砍价价格")
    private BigDecimal kjjg;

    /** 最低价 */
    @Excel(name = "最低价")
    private BigDecimal zdj;

    private Integer ggid;

    /** 参与人数 */
    @Excel(name = "参与人数")
    private Long cyrs;

    /** 帮忙砍价人数 */
    @Excel(name = "帮忙砍价人数")
    private Long bmkjrs;

    /** 砍价成功人数 */
    @Excel(name = "砍价成功人数")
    private Long kjcgrs;

    /** 限量 */
    @Excel(name = "限量")
    private Long xl;

    /** 限量剩余 */
    @Excel(name = "限量剩余")
    private Long xlsy;

    /** 活动状态 */
    @Excel(name = "活动状态")
    private Long hdzt;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date jssj;

    /** 上架状态 */
    @Excel(name = "上架状态")
    private Long sjzt;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String sptp;

    /** 砍价活动名称 */
    @Excel(name = "砍价活动名称")
    private String kjhdmc;

    /** 砍价活动简介 */
    @Excel(name = "砍价活动简介")
    private String kjhdjj;

    /** 活动开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hdkssj;

    /** 物流方式 */
    @Excel(name = "物流方式")
    private List<String> wlfs;

    /** 运费设置 */
    @Excel(name = "运费设置")
    private Long yfsz;

    /** 固定邮费 */
    @Excel(name = "固定邮费")
    private BigDecimal gdyf;

    /** 运费模板 */
    @Excel(name = "运费模板")
    private Long yfmb;

    /** 砍价人数 */
    @Excel(name = "砍价人数")
    private Long kjrs;

    /** 帮砍次数 */
    @Excel(name = "帮砍次数")
    private Long bkcs;

    /** 购买数量限制 */
    @Excel(name = "购买数量限制")
    private Long gmslxz;

    /** 单位 */
    @Excel(name = "单位")
    private String dw;

    /** 排序 */
    @Excel(name = "排序")
    private Long px;

    /** 砍价是否参与分销 */
    @Excel(name = "砍价是否参与分销")
    private Long kjsfcyfx;

    /** 砍价起始金额 */
    @Excel(name = "砍价起始金额")
    private BigDecimal kjqsje;

    private String xq;
    private String ge;

    private String wlfsStr;
    public Integer getGgid() {
        return ggid;
    }

    public void setGgid(Integer ggid) {
        this.ggid = ggid;
    }


    public String getWlfsStr() {
        return wlfsStr;
    }

    public void setWlfsStr(String wlfsStr) {
        this.wlfsStr = wlfsStr;
    }

    public String getXq() {
        return xq;
    }

    public void setXq(String xq) {
        this.xq = xq;
    }

    public String getGe() {
        return ge;
    }

    public void setGe(String ge) {
        this.ge = ge;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setKjtp(String kjtp) 
    {
        this.kjtp = kjtp;
    }

    public String getKjtp() 
    {
        return kjtp;
    }
    public void setJkmc(String jkmc) 
    {
        this.jkmc = jkmc;
    }

    public String getJkmc() 
    {
        return jkmc;
    }
    public void setKjjg(BigDecimal kjjg) 
    {
        this.kjjg = kjjg;
    }

    public BigDecimal getKjjg() 
    {
        return kjjg;
    }
    public void setZdj(BigDecimal zdj) 
    {
        this.zdj = zdj;
    }

    public BigDecimal getZdj() 
    {
        return zdj;
    }
    public void setCyrs(Long cyrs) 
    {
        this.cyrs = cyrs;
    }

    public Long getCyrs() 
    {
        return cyrs;
    }
    public void setBmkjrs(Long bmkjrs) 
    {
        this.bmkjrs = bmkjrs;
    }

    public Long getBmkjrs() 
    {
        return bmkjrs;
    }
    public void setKjcgrs(Long kjcgrs) 
    {
        this.kjcgrs = kjcgrs;
    }

    public List<String> getWlfs() {
        return wlfs;
    }

    public void setWlfs(List<String> wlfs) {
        this.wlfs = wlfs;
    }

    public Long getKjcgrs()
    {
        return kjcgrs;
    }
    public void setXl(Long xl) 
    {
        this.xl = xl;
    }

    public Long getXl() 
    {
        return xl;
    }
    public void setXlsy(Long xlsy) 
    {
        this.xlsy = xlsy;
    }

    public Long getXlsy() 
    {
        return xlsy;
    }
    public void setHdzt(Long hdzt) 
    {
        this.hdzt = hdzt;
    }

    public Long getHdzt() 
    {
        return hdzt;
    }
    public void setJssj(Date jssj) 
    {
        this.jssj = jssj;
    }

    public Date getJssj() 
    {
        return jssj;
    }
    public void setSjzt(Long sjzt) 
    {
        this.sjzt = sjzt;
    }

    public Long getSjzt() 
    {
        return sjzt;
    }
    public void setSptp(String sptp) 
    {
        this.sptp = sptp;
    }

    public String getSptp() 
    {
        return sptp;
    }
    public void setKjhdmc(String kjhdmc) 
    {
        this.kjhdmc = kjhdmc;
    }

    public String getKjhdmc() 
    {
        return kjhdmc;
    }
    public void setKjhdjj(String kjhdjj) 
    {
        this.kjhdjj = kjhdjj;
    }

    public String getKjhdjj() 
    {
        return kjhdjj;
    }
    public void setHdkssj(Date hdkssj) 
    {
        this.hdkssj = hdkssj;
    }

    public Date getHdkssj() 
    {
        return hdkssj;
    }

    public void setYfsz(Long yfsz) 
    {
        this.yfsz = yfsz;
    }

    public Long getYfsz() 
    {
        return yfsz;
    }
    public void setGdyf(BigDecimal gdyf) 
    {
        this.gdyf = gdyf;
    }

    public BigDecimal getGdyf() 
    {
        return gdyf;
    }
    public void setYfmb(Long yfmb) 
    {
        this.yfmb = yfmb;
    }

    public Long getYfmb() 
    {
        return yfmb;
    }
    public void setKjrs(Long kjrs) 
    {
        this.kjrs = kjrs;
    }

    public Long getKjrs() 
    {
        return kjrs;
    }
    public void setBkcs(Long bkcs) 
    {
        this.bkcs = bkcs;
    }

    public Long getBkcs() 
    {
        return bkcs;
    }
    public void setGmslxz(Long gmslxz) 
    {
        this.gmslxz = gmslxz;
    }

    public Long getGmslxz() 
    {
        return gmslxz;
    }
    public void setDw(String dw) 
    {
        this.dw = dw;
    }

    public String getDw() 
    {
        return dw;
    }
    public void setPx(Long px) 
    {
        this.px = px;
    }

    public Long getPx() 
    {
        return px;
    }
    public void setKjsfcyfx(Long kjsfcyfx) 
    {
        this.kjsfcyfx = kjsfcyfx;
    }

    public Long getKjsfcyfx() 
    {
        return kjsfcyfx;
    }
    public void setKjqsje(BigDecimal kjqsje) 
    {
        this.kjqsje = kjqsje;
    }

    public BigDecimal getKjqsje() 
    {
        return kjqsje;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("kjtp", getKjtp())
            .append("jkmc", getJkmc())
            .append("kjjg", getKjjg())
            .append("zdj", getZdj())
            .append("cyrs", getCyrs())
            .append("bmkjrs", getBmkjrs())
            .append("kjcgrs", getKjcgrs())
            .append("xl", getXl())
            .append("xlsy", getXlsy())
            .append("hdzt", getHdzt())
            .append("jssj", getJssj())
            .append("sjzt", getSjzt())
            .append("sptp", getSptp())
            .append("kjhdmc", getKjhdmc())
            .append("kjhdjj", getKjhdjj())
            .append("hdkssj", getHdkssj())
            .append("yfsz", getYfsz())
            .append("gdyf", getGdyf())
            .append("yfmb", getYfmb())
            .append("kjrs", getKjrs())
            .append("bkcs", getBkcs())
            .append("gmslxz", getGmslxz())
            .append("dw", getDw())
            .append("px", getPx())
            .append("kjsfcyfx", getKjsfcyfx())
            .append("kjqsje", getKjqsje())
            .toString();
    }
}
